package org.keyyond.ms.gateway.service.impl;

import org.keyyond.ms.gateway.common.CommonService;
import org.keyyond.ms.gateway.dao.MsAccessConfigDao;
import org.keyyond.ms.gateway.model.MsAccessConfig;
import org.keyyond.ms.gateway.service.IMsAccessConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MsAccessConfigServiceImpl extends CommonService implements IMsAccessConfigService {

	@Autowired
	private MsAccessConfigDao msAccessConfigDao;
	
	@Override
	public MsAccessConfig getAccessConfig(MsAccessConfig accessConfig) {
		// TODO Auto-generated method stub
		return msAccessConfigDao.hasPermit(accessConfig);
	}

}
